/*引入网络字体*/

*{
    padding:0;
    margin:0;
}
li{
    list-style: none;
}
a {
    text-decoration: none;/*去掉下划线*/
}

.clearfix:after{
    content: '';
    display: block;
    clear: both;
}

.top{
    position: fixed;
    top: 0;
    left: 0;
    padding: 15px 25px 25px;/*导航栏的内边距，只有上边距是15*/
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.6s;
}
.top-nav{
    position: relative;
    display: flex;
    justify-content: center;
    align-content: center;
    list-style: none;
    /*margin-left: 220px;!*导航距的左外边距*!*/
    margin: auto;/*导航栏居中，因为在别的电脑上不适配*/
}
.top-nav li{
     position:relative;
     margin:0 20px;
     font-size: 15px;
     font-family: Consolas;
     font-weight: 400;/*字体粗细*/
     text-decoration: none;
 }
.top-nav a{
    position: relative;
    color: white;/*字体颜色白色*/
    align-content: center;
    justify-content: center;
}
.top-nav a:hover{
    color: #f3e1e8;/*鼠标放上去之后的颜色*/
}

.bian{                                        /*有问题*/
    padding: 15px 100px;
    background-color: rgb(71, 105, 219);
}
.bian,.tou.bian a{                            /*有问题*/
    color: rgb(252, 247, 247);
}
/*********************************/

/* 父容器 */
.container {
    scroll-snap-type: y mandatory;/*垂直滚动贴合*/
    height: 100vh;
    overflow:scroll;/*出现垂直滚动条*/
    overflow-x: hidden;/*禁用水平滚动条*/
}

.section {
    width: 100vw;
    height: 100vh;
    scroll-snap-align: start;/*贴合方式*/
}

.section-1 {
    background-image:url("https://s1.ax1x.com/2022/04/11/LZMwz8.png");/*/img/首页背景.png*/
    width: 100%;
    background-repeat: no-repeat;/*不平铺*/
    background-size: cover;/*背景盖住整个页面*/
    background-position: center center;
    border-top:1px solid transparent;/*设置一个顶部边框，否则下面的文字的margin-top失效*/
}
.word_position-1{
    margin-left: 90px;/*一坨文字的位置*/
    margin-top: 150px;
}
.headline-1{
    color: #f3e1e8;/*首页标题颜色*/
    font-size: 60px;/*文字大小*/
    font-weight: 600;/*字体粗细*/
    text-shadow: 2px 3px 1px #bfa4c5;/*文字阴影*/
}
.headline_small-1{
    font-size: 20px;
    color: #f3e1e8;/*首页小字颜色*/
}
.word-1{
    color: white;/*文字颜色*/
    font-size: 14px;
    margin-bottom: 9px;/*为了让三行文字行距高一点*/
    font-family: Consolas;
}

.section-3 {
    background-color: #F6F6F6;
}
